package com.sailfish.springbootdemo.pojo.db7;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

public class TbTemplate  {
    /**
     * 序号
     * **/
    public Integer id;
    /**
     * 版本
     * */
    public String version;

    /**
     * 模板类型
     * */
    public String template_type;

    /**
     * 父级Id
     * **/
    public Integer parent_id;
    /**
     * 参数中文名字
     * **/
    public String param_name;
    /**
     * 参数英文名(预留)
     * **/
    public String param_name_en;
    /**
     * 参数Key预留
     * **/
    public String param_key;
    /**
     * 类型
     * **/
    public Integer param_type;
    /**
     * 层级
     * **/
    public Integer level;

    /**
     * 下拉框级别
     * **/
    public Integer select_level;

    /**
     * 下拉框父级Id
     * **/
    public String parent_select_id;

    /**
     * 提示
     * **/
    public String tip;

    /**
     * 备注
     * **/
    public String remark;
    /**
     * 创建人
     * **/
    public String create_user;

    /**
     * 创建时间
     * **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date create_time;
    /**
     * 更新人
     * **/
    public String update_user;

    /**
     * 更新时间
     * **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date update_time;
    /**
     * 状态
     * **/
    public Integer status;

    public List<TbTemplate> children;



    public String getParent_param_key() {
        return parent_param_key;
    }

    public void setParent_param_key(String parent_param_key) {
        this.parent_param_key = parent_param_key;
    }

    public  String parent_param_key;

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getIs_value() {
        return is_value;
    }

    public void setIs_value(Integer is_value) {
        this.is_value = is_value;
    }

    public  Integer sort;

    public  Integer is_value;

    public Integer getChildrenCount() {
        return childrenCount;
    }

    public void setChildrenCount(Integer childrenCount) {
        this.childrenCount = childrenCount;
    }

    public Integer childrenCount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getTemplate_type() {
        return template_type;
    }

    public void setTemplate_type(String template_type) {
        this.template_type = template_type;
    }

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public String getParam_name() {
        return param_name;
    }

    public void setParam_name(String param_name) {
        this.param_name = param_name;
    }

    public String getParam_name_en() {
        return param_name_en;
    }

    public void setParam_name_en(String param_name_en) {
        this.param_name_en = param_name_en;
    }

    public String getParam_key() {
        return param_key;
    }

    public void setParam_key(String param_key) {
        this.param_key = param_key;
    }

    public Integer getParam_type() {
        return param_type;
    }

    public void setParam_type(Integer param_type) {
        this.param_type = param_type;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getSelect_level() {
        return select_level;
    }

    public void setSelect_level(Integer select_level) {
        this.select_level = select_level;
    }

    public String getParent_select_id() {
        return parent_select_id;
    }

    public void setParent_select_id(String parent_select_id) {
        this.parent_select_id = parent_select_id;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreate_user() {
        return create_user;
    }

    public void setCreate_user(String create_user) {
        this.create_user = create_user;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_user() {
        return update_user;
    }

    public void setUpdate_user(String update_user) {
        this.update_user = update_user;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<TbTemplate> getChildren() {
        return children;
    }

    public void setChildren(List<TbTemplate> children) {
        this.children = children;
    }

}
